package eu.jpereira.trainings.designpatterns.creational.abstractfactory.json;

import eu.jpereira.trainings.designpatterns.creational.abstractfactory.AbstractReportElementsFactory;
import eu.jpereira.trainings.designpatterns.creational.abstractfactory.ReportBody;
import eu.jpereira.trainings.designpatterns.creational.abstractfactory.ReportFooter;
import eu.jpereira.trainings.designpatterns.creational.abstractfactory.ReportHeader;

public class JSONReportElementsFactory implements AbstractReportElementsFactory {

        @Override
        public ReportBody createReportBody() {
                return new JSONReportBody();
        }
       
        @Override
        public ReportFooter createReportFooter() {
                return new JSONReportFooter();
        }
       
        @Override
        public ReportHeader createReportHeader() {
                return new JSONReportHeader();
        }
}

